// 根据角色返回侧边栏数据侧边栏数据
import { 
    House, 
    User, 
    OfficeBuilding, 
    HomeFilled, 
    UserFilled, 
    List 
} from '@element-plus/icons-vue'
export const getAsideData = (roleType) => {
    switch(roleType) {
    case 0:
        break;
    case 1:
        break;
    case 2:
        return [{
            title: '首页',
            icon: 'House',
            component: House,
            path: '/home'
        },
        {
            title: '宿管管理',
            icon: 'User',
            component: User,
            path: '/dormitory_manger'
        },
        {
            title: '宿舍楼管理',
            icon: 'OfficeBuilding',
            component: OfficeBuilding,
            path: '/building'
        },
        {
            title: '宿舍管理',
            icon: 'HomeFilled',
            component: HomeFilled,
            path: '/dormitory'
        },
        {
            title: '学生管理',
            icon: 'UserFilled',
            component: UserFilled,
            path: '/student'
        },
        {
            title: '晚归记录',
            icon: 'List',
            component: List,
            path: '/later_record'
        }];
    }
}
